<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QGraphicsWidget Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QGraphicsWidget Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qgraphicsobject.html">QGraphicsObject</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QGraphicsWidget(QGraphicsItem parent, WindowFlags wFlags)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QGraphicsWidget prototype object</li>
<li><div class="fn"/><b>void setTabOrder(QGraphicsWidget first, QGraphicsWidget second)</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QGraphicsWidget prototype object inherits properties from the <a href="qgraphicsobject.html">QGraphicsObject</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>List actions()</b></li>
<li><div class="fn"/><b>void addAction(QAction action)</b></li>
<li><div class="fn"/><b>void addActions(List actions)</b></li>
<li><div class="fn"/><b>void adjustSize()</b></li>
<li><div class="fn"/><b>QGraphicsWidget focusWidget()</b></li>
<li><div class="fn"/><b>void getWindowFrameMargins(qreal left, qreal top, qreal right, qreal bottom)</b></li>
<li><div class="fn"/><b>int grabShortcut(QKeySequence sequence, ShortcutContext context)</b></li>
<li><div class="fn"/><b>void insertAction(QAction before, QAction action)</b></li>
<li><div class="fn"/><b>void insertActions(QAction before, List actions)</b></li>
<li><div class="fn"/><b>bool isActiveWindow()</b></li>
<li><div class="fn"/><b>void paintWindowFrame(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)</b></li>
<li><div class="fn"/><b>QRectF rect()</b></li>
<li><div class="fn"/><b>void releaseShortcut(int id)</b></li>
<li><div class="fn"/><b>void removeAction(QAction action)</b></li>
<li><div class="fn"/><b>void resize(qreal w, qreal h)</b></li>
<li><div class="fn"/><b>void setAttribute(WidgetAttribute attribute, bool on)</b></li>
<li><div class="fn"/><b>void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom)</b></li>
<li><div class="fn"/><b>void setGeometry(qreal x, qreal y, qreal w, qreal h)</b></li>
<li><div class="fn"/><b>void setShortcutAutoRepeat(int id, bool enabled)</b></li>
<li><div class="fn"/><b>void setShortcutEnabled(int id, bool enabled)</b></li>
<li><div class="fn"/><b>void setStyle(QStyle style)</b></li>
<li><div class="fn"/><b>void setWindowFrameMargins(qreal left, qreal top, qreal right, qreal bottom)</b></li>
<li><div class="fn"/><b>QStyle style()</b></li>
<li><div class="fn"/><b>bool testAttribute(WidgetAttribute attribute)</b></li>
<li><div class="fn"/><b>void unsetLayoutDirection()</b></li>
<li><div class="fn"/><b>void unsetWindowFrameMargins()</b></li>
<li><div class="fn"/><b>QRectF windowFrameGeometry()</b></li>
<li><div class="fn"/><b>QRectF windowFrameRect()</b></li>
<li><div class="fn"/><b>WindowType windowType()</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QGraphicsWidget objects inherit properties from the QGraphicsWidget prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>palette</b></li>
<li><div class="fn"/><b>font</b></li>
<li><div class="fn"/><b>layoutDirection</b></li>
<li><div class="fn"/><b>size</b></li>
<li><div class="fn"/><b>minimumSize</b></li>
<li><div class="fn"/><b>preferredSize</b></li>
<li><div class="fn"/><b>maximumSize</b></li>
<li><div class="fn"/><b>sizePolicy</b></li>
<li><div class="fn"/><b>focusPolicy</b></li>
<li><div class="fn"/><b>windowFlags</b></li>
<li><div class="fn"/><b>windowTitle</b></li>
<li><div class="fn"/><b>geometry</b></li>
<li><div class="fn"/><b>autoFillBackground</b></li>
<li><div class="fn"/><b>layout</b></li>
</ul>
</body>
</html>
